<?php
	require "settings/config.php";
	require "layout.php";
	require "includes/sql_functions.php";
	require "includes/reg_functions.php";
	require "includes/session.php";
	
	if($_GET['optin'] == 0 || $_GET['optin'] == 1)
	{
		oh_update_email_settings($_GET['optin']);
		header('Location: signup.php');
	}
?>